reworked filesystem type detection, added tar
support xz compression