Add intermediate dirs (which contain only dirs), fix texlive test wrt dirs.