fix(desktop): the undecryptable catalog backup keeps the original even if a save lands mid-read

The backup copied whatever file sat at the catalog path after decryption
failed, so a concurrent save could be backed up under the original's name
and the original lost. Write the document that failed to decrypt instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
741cfc9f9fJulius Marminge committed on 10/22/2026, 8:06:24 AMparenteaa20f0
2 files changedLine totals unavailable