consolidate shash::Digest>>::ToString() and ::MakePath()