outdir.  TODO: test with lualatex which already uses jobname.