fn create_synced_temp( parent: &Path, target: &Path, content: &[u8], origin: Option<(&'_ File, &'_ Metadata)>, ) -> Result<TempGuard>