rpdflatex: ensure tmp directory exists.