pub(crate) fn unpack_entry<T>(
    entry: &mut Entry<'_, T>,
    target: &Path
) -> Result<(), Error> where
    T: Read