Fixes pickling of configuration modules when using execv/fork emulation.  Closes #1126