Making salt.modules.htpasswd python3 compatible
Merge pull request #17407 from nmadhok/modules-python3-htpasswd

Making salt.modules.htpasswd python3 compatible