Issue 14 Fix

Hi Maksim,

Here's the Windows path fix I commented on earlier today -- now that I'm home I've had an opportunity to test it on OS X and it doesn't seem to have broken anything. There may be other Windows issues in this somewhere, but I've been using this extensively on my Windows 7 machine all day at work and didn't have any problems with it.

One thing I should mention -- the grunt unit tests did not work for me. However, I think this may be a setup problem on my end, because I'm getting all failures when I run them against the unmodified master repo, too. You may want to be sure the tests run as expected in your own environment; I don't have much experience yet with Grunt.

If you have any problems or need me to resubmit this against a different branch on your side, or any other changes, please let me know. This is my first pull request **ever** to an open source project and hopefully I haven't missed anything important. :)