Minor re-working of checksum error handling.

@michaelcahill, would you please review and merge if you agree with these changes?

All the details are in the commit message.