Making salt.utils.ipaddr python3 compatible