correction of stringencoding for build filename and logmessages