fn remap_paths(paths: &mut [&Path])