Fixed -tmp-dir option