Implement getUniqueID for directories on windows.