Rewrite Cursor.fetchall - less code duplication

This is to reduce duplicated code in the various fetch* methods