Fix file upload.