pub fn append_file_name(path: &Path, suffix: &str) -> Result<PathBuf>
Expand description

Append a suffix to the filename of a path.

Errors if the path parent or file name could not be determined.