Don't add newline on version string (fixes #865)