pub fn update_task(root: &Path, task: &Task) -> Result<(), JotError>
Overwrite a task on disk. If the title changed and produced a new filename (slug-derived), the old file is removed.