Fix #532: Make the template fallback Python3-compatible

Thanks to Nils Fredrik Gjerull for the report.
FeinCMS v1.9.4
Merge remote-tracking branch 'mk/master'

* mk/master:
  flake8