Making salt.grains.extra python3 compatible