StringIO rename

Possible issue with StringIO and gzip deflation