Small fix in dump_hazards.py: the filenames list contained duplicates

dump_hazards.py generates a file FILENAMES.txt with the list of files to restore. Due to a small bug the list contained duplicates, so restore_hazards.py was trying to restore the same file twice, thus giving false warnings.
I have also improved the warning message to print the filename of the .tar file being restored.