implement extent_next() to advance to next extent_t.