fixes the Template parser and the generated files.

the current method that parse a template use the Matcher#appendReplacement. There are a problem in file system that use backslash like Window. This were making uncorrect values when render path. We need combine Matcher#quoteReplacement with that to solve the problem.