Making salt.renderers.wempy python3 compatible