Moved the sanitizing of a symlink's link string here from flist.c.