Added enforceConsistency flag to RegistryManager.Save