Fix message in case of error during file upload