Making salt.utils.iam python3 compatible