Add newline to the end of core stacktrace file to make text editors
happy.

_to_json functions never end the resulting string with a newline and
callers should expect that.