pub fn rm_dead_symlinks(dir: &str) -> Result<()>
Removes dead symbolic links from the specified directory.