[DF-185] Fixed IsDirectory for win32