caveats: if the last character isn't a newline, add one

Can we do this without branching? Maybe like

```rb
s = f.caveats.to_s
caveats << s.chomp << "\n" if s.length > 0
```