fix for issue #1

build.py inserted a newline at the beginning of the product, which caused
the resulting file to be unusable. this should be fixed now