maint: normalize to exactly one newline at EOF