Added support for StringIO, for StringIO is file-string-mapper.