JBIDE-17215 - better handling of tar.gz extracting