Fix: setup trace dir in output mode

Signed-off-by: David Goulet <dgoulet@efficios.com>