Fixed pg_dump connection via socket.