Making salt.states.postgres_database python3 compatible