remove extraneous newline from the end of version string