Fix error when uploading answer file from local computer.