Remove StringIO require statement