tar2qfile: send directories headers even if the tar file does not contain any directory headers