Revise exceptions in file upload fix script.