Making salt.utils.jinja python3 compatible