pub fn validate_checkpoint_name(name: &str) -> Result<(), String>
Reject checkpoint names that could escape the checkpoints directory.