Use BytesIO/StringIO instead of temporary files
Merge pull request #394 from sargas/stop-the-tmp-files

Use BytesIO/StringIO instead of temporary files