Making salt.states.htpasswd python3 compatible
Merge pull request #17646 from nmadhok/states-python3-htpasswd

Making salt.states.htpasswd python3 compatible