Trim newlines from the end of versions.txt