Fix $this->conn_id being false in DB driver

By the time _write is called, CodeIgniter has already ended, so the DB
is closed.  Let's re-open the DB so we can make our query.