Introduce textual checkpoint format. It's basically one base64-encoded line per checkpoint.

The BuildCheckpoints tool now generates and sanity checks both formats.