Serialize checkpoints in the data-source handle.

@michaelcahill, ready to merge if you approve.

Reference #1129.