buildman: properly translate strings for log and err files to ASCII