Adapt calls to FileUtils#touch

FileUtils#touch is changing behavior, including:

- not creating parent directories when necessary

This change was proposed as a Google-internal CL and this change is
applying it in the open source project.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I07dad3c3234296c12d4120ae27692ceb32ab7212
diff --git a/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java b/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
index eb66504..dde1554 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
@@ -25,6 +25,7 @@
 import com.google.common.collect.ImmutableSetMultimap;
 import com.google.common.collect.Lists;
 import com.google.common.flogger.FluentLogger;
+import com.google.common.io.Files;
 import com.google.gerrit.acceptance.PushOneCommit;
 import com.google.gerrit.acceptance.TestPlugin;
 import com.google.gerrit.entities.Account;
@@ -416,6 +417,7 @@
     AddCommand ac = git.add();
     for (File f : files.keySet()) {
       if (!f.exists()) {
+        Files.createParentDirs(f);
         FileUtils.touch(f);
       }
       if (files.get(f) != null) {