Improve try_symlink (handle broken symlinks + expand ~ user path)