Try to fix mangled wx/std string conversions.