fix symlinks and dotfiles while reading glob (vercel/turbo#8865)
### Description
* fix dot files handling while reading glob fix symlink handling while
reading glob
* fix symlink handling while reading glob
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->