fn write_key(path: &Path, armored: &[u8]) -> Result<(), String>
Writes a key file beside, then moves it in place. On Unix it is readable by you alone, whatever the umask: your secret keys, and whose keys you keep.