fixupTarEntryPermissions

private fun fixupTarEntryPermissions(entry: TarArchiveEntry, path: Path)

Fixes the execute bit of the path using the information of the tar entry.