Fix the broken file upload.