ENH Use a smarter method to get annex hashes

This is both faster & works even if the objects are not present
ENH Default to sha256

This matches the git-annex default