fix update_hashes_by_file
Merge pull request #120 from grutz/update_hashes_fix

fix update_hashes_by_file