Added option --tmp-dir