[feature] add tmp-dir selection to options and set CWD as default