remove trailing newline from version numbers and date