test(gen): use path.normalize to be windows aware

- change function assertOnlyFiles to use a different local variable from
global module name - path.
- show expected files when a test fails
- use path.normalize before search in the array

Closes #601
Merge remote-tracking branch 'upstream/canary' into canary
replace gitter badge