dir refactoring
refactor tests from Dir
refactor Dir to use prefixes and path separation
fix windows drive letter paths on unix
fix don't cut first part of dir
fix unc paths on unix
dont cut first windows drive on unix