added support for non-file object in pypy wsgi.file_wrapper