Add a trailing newline.

POSIX (IEEE Std 1003.1, 2013 Edition) says:
  3.206 Line

  A sequence of zero or more non- <newline> characters plus a
  terminating <newline> character.