Making salt.modules.pillar python3 compatible