s/TMPDIR/BARONTMPDIR/ to avoid conflict on OS X