Fix call to StringIO