Bug-1034090 - Fix PicklingError when invoking fix_b2g_stack.py directly.