Making salt.auth.pam python3 compatible