Fix bug in file upload on status page