Fix runtime UTF exceptions due to DMD emitting invalid Unicode output.