Making salt.modules.grains python3 compatible

bad list