Fixed scripts that read version_prefix.txt

They should now only read the first line.