Saves checkpoint atomically: write to temp file then rename. This ensures no partial/corrupt file on crash.
(&self)
source not stored for this graph (policy: none)