parse_multipart wants a file-like object