Revert cStringIO back to StringIO because of unicode incompatibilities