Making salt.states.hg python3 compatible
Merge pull request #17648 from nmadhok/states-python3-hg

Making salt.states.hg python3 compatible