Add buildnum.txt.
Add newline to generated files.