wrong_ref.txt is made in case there are bad references in hashfiles

$original_file_path less rigorously checked