Don't add multiple empty lines at the end of the codec. With this a
regenerated codec should survive reindent.py unchanged.
diff --git a/Tools/unicode/gencodec.py b/Tools/unicode/gencodec.py
index a31475e..7c7829b 100644
--- a/Tools/unicode/gencodec.py
+++ b/Tools/unicode/gencodec.py
@@ -348,7 +348,7 @@
     l.extend(encoding_map_code)
 
     # Final new-line
-    l.append('\n')
+    l.append('')
 
     return '\n'.join(l).expandtabs()