Loading
Replaced cStringIO.StringIO by io.BytesIO.
Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3.
Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3.