cleanup travis script a bit

keep all the utf8 bom code together, and output the bom at the
place that it is reported