Pass the filename of the template to the factory

Mustache uses the file's extension when resolving partials, so it's important that the actual file name is used.