Making salt.states.postgres_extension python3 compatible