support multipart file uploads on upload endpoint