Append LF to the json string of persisted replication event

Change-Id: I83ed3f37071125018bf23f6dcd137ef819ef3559
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/EventsStorage.java b/src/main/java/com/googlesource/gerrit/plugins/replication/EventsStorage.java
index 384df0a..d28a1c0 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/EventsStorage.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/EventsStorage.java
@@ -54,7 +54,7 @@
     r.project = project;
     r.ref = ref;
 
-    String json = GSON.toJson(r);
+    String json = GSON.toJson(r) + "\n";
     String eventKey = sha1(json).name();
     Path file = refUpdates().resolve(eventKey);