writing out buildinfo.