pub(crate) fn append_suffix(path: PathBuf, suffix: &OsStr) -> PathBuf
Appends a suffix to a path.
Can be used to append an extension without removing an existing extension.