StringIO wrong