Add --tmp-dir=trial-tmp.

Allow selection of temporary directory.