Bugfix: Create output dir in the right place.