Making salt.modules.localemod python3 compatible
Merge pull request #17443 from nmadhok/modules-python3-localemod

Making salt.modules.localemod python3 compatible