patch for issue#2 - path checking now OS and platform (node/browser) agnostic
Merge pull request #4 from MichaelPaulukonis/master

patch for issue#2 - path checking now OS and platform agnostic