Kompile temp dirs

Resolves #1059 at the cost of more verbose messages in ktest output since we run everything using --debug now. 
This was checked even when parent directory is missing.