Fix TestUtils.clearOutputDir() so it deletes files and directories