TarExtractor and directories

this fix should handle directories better.
i attempted a workaround for GNU tar files with long filenames, but it does not always work.
this requires jtar-2.2 or later because the package name changed and older versions dont support ustar format, needed for long filenames.

cheers