Executor: Check whether the output directory was created successfully.

Change-Id: Ic4b4c2b1362e1523ffa4020b9c4c157cd085fd40
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>