fixes issue
#856 file upload >1000 bytes on windows throws exception....
fixes issue
#856 file upload >1000 bytes on windows throws exception.
The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform