Updated FOR loop syntax to new robot version

Signed-off-by: Marissa Garza <garzam@us.ibm.com>
Change-Id: Iad394c40eef9508db6840ed9692d102910a5c5df
diff --git a/lib/openbmc_ffdc_utils.robot b/lib/openbmc_ffdc_utils.robot
index 9d459b8..ed2034c 100644
--- a/lib/openbmc_ffdc_utils.robot
+++ b/lib/openbmc_ffdc_utils.robot
@@ -94,9 +94,10 @@
 
     # --- FFDC header notes ---
     @{entries}=  Get ffdc cmd index
-    :FOR  ${index}  IN  @{entries}
-    \   Write Data To File  * ${index.upper()}
-    \   Write Data To File  ${\n}
+    FOR  ${index}  IN  @{entries}
+        Write Data To File  * ${index.upper()}
+        Write Data To File  ${\n}
+    END
 
     Write Data To File  ${MSG_DETAIL}
     [Return]  ${ffdc_file_list}