Extracted from stacked PRs #630/#631 (commit 96d815a). Make DataFile password randomization tests deterministic (CSV + JSON). Target: `next`.