workdir: create tmpfiles in the correct directory