fix pickling of tempered chains in python

parallel tempered chains in python create more care when unpickling, so that their shared memory is not lost.