Fix crashreport encoding issue.