fix bug in untar when unpacking a tar file with top-level files