respect template_dir for non jinja2 templates location