Fixed some old code putting a bad version.txt into the build