remote-hg: use hashlib instead of hg sha1 util