add generating npmrc for other users. fix bug in non windows os's
Merge pull request #13 from daptiv/fix-npmrc-generation-location

fix-npmrc-generation-location