use os.path.join() to open template from given location for non jinja2 templates