pub(crate) fn save_file(
output: Option<&str>,
default_file_name: &str,
data: &[u8],
) -> Result<PathBuf>Expand description
Write data to the location resolve_output_path picks for (output, default_file_name)
and return the path written, so the caller can report it back to the user.