Glob: Revert "Optimize directory/symlink checks on Windows"
Revert commit 99c7831e from !243 (merged). The original code checked realname, which is not the same as d.GetFile(cc) or d.GetFileData(cc).
Revert commit 99c7831e from !243 (merged). The original code checked realname, which is not the same as d.GetFile(cc) or d.GetFileData(cc).