fn add_suffix(path: &Path, suffix: &str) -> PathBuf
Adds a suffix to a path before the file extension.