Support template in file name

To allow creation of '{{var}}.tpl.html' like files, resulting 'foo.html' if var = 'foo'.

Maybe it's could be better to use consolidate for this, but some engine has forbidden characters for filenames to open/close block.