Add newline at the end of the PID file

This is standard for PID files elsewhere, and makes it behave better
when inspecting the file manually.