pub fn set(memory_dir: &Path, key: &str, value: &str) -> Result<(), String>
Set a config key and save.