Make Dir Separator platform-aware
use path.sep
Replace regex test with path.sep check
Merge pull request #220 from batjko/master

Make Dir Separator Windows-aware