Making salt.states.pecl python3 compatible