implement cygwin paths in dir