Fixing request headers for file upload requests.