Fixed bug with tar.gz