Make mysql's CursorWrapper a contextmanager.