Making salt.modules.znc python3 compatible