Fixing slashing problem with windows paths

I am using windows 7 and my Yeoman suddenly can't find generators (@@). Turns out it seems to be a slashing problem in windows, when path to node module is like ....\AppData\Roaming\npm\node_modules\

It should be changed to forward slash (/) for the sync function work properly, I think.
I think the correct fix would actually only be to pass `/*/index.js` to `path.join()`. This method will take care of normalizing the slashes.