use process.env.USERPROFILE as alternative to process.env.HOME (for windows)
Merge pull request #352 from ingmr/master

Windows compatibility