Fix spritemapper filter

StringIO is not what you think it is.