Making Jinja templates as files work