notes-merge: use O_EXCL to avoid overwriting existing files