Fix multipart file uploads