Hopefilly fix genx file encoding error