Add missing newlines at EOF