Making salt.states.gem python3 compatible