Convert backslash to forward slash in template names

If a windows machine is reading in the template files, the module names start looking like `some\template\you\know`.

I added a step to `name.replace(/\\/g, '/');`