Update buildbat.tmpl

Batch scripts generated by `koch csources` now return proper error codes, and stop when there is an error.