pub fn set_dir_hash(path: &Path, hash: &[u8; 32]) -> Result<()>
Store a directory-level Merkle hash via xattr on the target directory.