Making salt.states.htpasswd python3 compatible