cli: Munge non-ASCII characters when pickling.
cli: Munge non-ASCII characters when pickling.

It's not a comprehensive fix, but at least ensures the generated Python
pickle stream is valid.

Fixes https://github.com/apitrace/apitrace/issues/781

apitrace/apitrace,apitrace/apitrace,apitrace/apitrace,apitrace/apitrace