Write build results to logfile from build.pl