BUG: convert InMemory file object type to StringIO

`zipfile` module is observed to raise `TypeError` on a `InMemoryUploadedFile` (django's defined object at django.core.files.uploadedfile module) in Linux System with Apache + WSGI

This object is converted to StringIO buffer which is compatible with `zipfile`