Check for template_include passing non-strings. Fixes #1134
Merge pull request #1136 from tomdxw/feature/1134-template_include

Check for template_include passing non-strings. Fixes #1134