Making salt.modules.tls python3 compatible
Merge pull request #17568 from nmadhok/modules-python3-tls

Making salt.modules.tls python3 compatible