Changed (c)StringIO imports