[test_typescript] Tweak mktemp to create temp dir in $TMPDIR (rather than the current dir) on both GNU and BSD
[test_typescript] Tweak mktemp to create temp dir in $TMPDIR (rather than the current dir) on both GNU and BSD

peferron/algo,peferron/algo,peferron/algo,peferron/algo,peferron/algo,peferron/algo