Fixes #5378: We need a method for the mustache template

Copied from file_template_expand.cf
I think the definition that it is a mustache type template is missing here