Making salt.states.network python3 compatible