joyent/node — pull request #5454 by robertkowalski (2013-05-11 22:20:21+00:00)
Title: Use path sep

Just discovered this while searching in the source of node for some work on `npm`.

I added the tests as separate commit as I had to refactor the `_initPaths` a little bit to make it testable, but I can rebase it if you want.