Make pysawsim.invoke.CommandError picklable, and add doctest proof.