Making salt.states.nftables python3 compatible