Fix issue with file uploading.