Use FileSystemLoader instead of DictLoader in jinja2

In accordance to #7291.