Find a canonical hash of a tar file