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

$original_file_path less rigorously checked
Merge pull request #18 from DavorJ/master

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