This reverts commit c98833cd. The test `ClangScanDeps/modules-inferred-explicit-build.m` creates files in the current directory.