Switch to stashing the metadata dhandle, not the btree.

Also update checkpoint to use the saved handle instead of
searching for it again.