Making salt.modules.publish python3 compatible
Merge pull request #17511 from nmadhok/modules-python3-publish

Making salt.modules.publish python3 compatible