Use a different filename for in-progress checkpoints so as not to corrupt the old checkpoint.