fixed a 404 bug of file output in FileUploadRecordController