Making salt/_compat python3 compatible
Merge pull request #18036 from nmadhok/salt-python3-_compat

Making salt/_compat python3 compatible