Handle dead symbolic links
Save the old directory if linking to a new directory