pub fn save(workspace: &Utf8Path, registry: &Registry) -> Result<(), RkError>
Write the registry atomically.
A serialization or write failure.