Check if files are the same based on MD5 hashes