Making salt.modules.postgres python3 compatible

Needs to be moved to the top