pub fn update_item(root: &Path, item: &Item) -> Result<(), JoyError>
Update an item in place (overwrites its file).