Use stream-based directory listing sessions invalidation

There is no need to accumulate in memory all the list
of files in the websessions directory: the streaming fashion
is enough to cycle and remove all sessions.

Change-Id: Id780f6c44ffada8f65e66fc1a802f084c685c636
diff --git a/src/main/java/com/googlesource/gerrit/plugins/websession/flatfile/FlatFileWebSessionCache.java b/src/main/java/com/googlesource/gerrit/plugins/websession/flatfile/FlatFileWebSessionCache.java
index cbdc8aa..18e8a94 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/websession/flatfile/FlatFileWebSessionCache.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/websession/flatfile/FlatFileWebSessionCache.java
@@ -153,9 +153,7 @@
 
   @Override
   public void invalidateAll() {
-    for (Path path : listFiles()) {
-      deleteFile(path);
-    }
+    foreachSession(this::deleteFile);
   }
 
   @Override