Check for reparse points (links / junctions) that point to directories

This change allows reparse points that point to directories to be handled in RStudio on Windows.