pub(crate) fn restore_target_files( stage_dir: &Path, install_dir: &Path, target_paths: &[PathBuf], ) -> Result<usize>