pub fn write(path: &str, content: &[u8]) -> Result<String, FileError>
Port of kubeconfig.Write. Returns the backup path, empty when there was nothing to back up.
kubeconfig.Write