rpdflatex: fix tmp directory bug.