Take Windows paths into account

Fixes yeoman/yo#3. :beer: