A new rcq function implements atomic file writes using temp-file-then-rename, with fallback to copy+unlink for cross-device scenarios (EXDEV, EPERM, EEXIST). This prevents data corruption from interrupted writes.
Evidence
Atomic write function at line ~145955 (search for ".tmp." in the write context).
Strings lifted out of the shipped bundle, so the claim above can be checked against them.