Better content_type support when using TrexUpload.from_file