ktest: Create outputdir if it does not exist