Fix pickling of std(in, out, err) streams
Merge pull request #45 from matsjoyce/std_stream_fix

Fix pickling of std(in, out, err) streams