Small improvements about tarball handling