Tweak regexp in build/post-compile.js used to repair whitespace detection.
Add *.template.* to .ignore files.