Fix AttributeError in spritemapper filter

StringIO is not what you think it is.