Fix missing newlines at EOF