Fix broken tar.gz unpacking