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.
braces and `===`