AttributeError: StringIO instance has no attribute 'encoding'
Bump version