Use BytesIO rather than StringIO
Bring back Python 2.6 testing