Add newline at end of file to prevent compilation warning

The newline was removed at commit 50d50c2f
Make sure the generator script also creates a newline at the end of file

Similar to commit d6713f39 in master