Step 1 of #710. Goldens pin what a run prints before the entry code moves, and the renames follow two naming rules added to RFC-001. No behavior change.
Tests now sit beside the code they cover; ones a golden or another test already pins are gone, and core tests gain the assertions a real regression would trip.
dumpkeys truncated keys.json before writing it, so a failed write left a partial file; app now writes it through the
same temp-file-and-rename path zips use. Unzipping moves next to zip writing and checks entries with filepath.IsLocal.
A planted <archive>.tmp set the archive's mode or redirected the write through a symlink.
CoreData let 10000-01-01 through, which time.Time.MarshalJSON rejects, so a JSON export failed.
snapshot.Zip followed symlinks and kept an existing archive's mode, edge cases export's --zip never needed;
both now write a temp file beside the target and rename it into place.