Making salt.modules.ipset python3 compatible