Fix template rendering: Use unicode instead of str.
Allow usage of unicode inside templates.