pub fn store_file( dir: &Path, target: &str, cred: &CachedCred, ) -> Result<(), String>
Write a credential to the file cache (creating the dir; the file is 0600).
0600