Compare the hashes of two files