Code shuffling with no real change: move the primary function
__wt_rec_write to the top of the file.