No more cStringIO in PY3