pub fn save_manifest(dir: &Path, manifest: &Manifest) -> Result<(), ZigError>
Save the manifest to a tier directory.