pub fn save_token(token: &str) -> Result<()>
Save the token to the credentials file (0600 on Unix), creating the directory as needed.
0600