safeguard against version.txt file with line break