Fixed a bug with Inheritance using Mustache

It still needs to be able to add the correct extension to the filename, but solves the Path problem correctly, while using {{ < base }} style of template extension.