pub fn save(base: &Path, t: &Task) -> Result<()>
Save a task to disk. Deletes the old file if the slug has changed.