Making salt.states.module python3 compatible