Making salt.modules.key python3 compatible
Merge pull request #17451 from nmadhok/modules-python3-key

Making salt.modules.key python3 compatible