StringIO -> BytesIO
support for the differences between StringIO and BytesIO
Merge pull request #116 from wiredfool/py3k

Py3k