Fix windows path seperator for templates

`rmExt` contained code to fix path separators, but it wasn't being used for templates. This fixes the path separators specifically for templates.

Having this in two places isn't a great idea, but neither is fixing path separators in a function that claims it's only removing file extensions.
Add isTemplate back in
Add whitespace back in
Merge pull request #7 from ismyrnow/patch-1

Fix windows path seperator for templates