Display error when file renaming fails.