use TMPDIR for tx cache