Anticipate bad unicode from Forum dumps. Fixed by adding args.decode('utf-8', 'ignore') in writeResult() in cases when args is a string.