pub fn journal_dir(targets: &[PathBuf]) -> Result<PathBuf>
Determine the journal directory. Prefers CWD; falls back to the first target file’s parent if CWD is not writable.