pub fn save_prefs( storage_root: impl AsRef<Path>, prefs: &SanctuaryPrefs, ) -> Result<()>
Saves prefs.