Making salt.states.npm python3 compatible