Making salt.states.cyg python3 compatible