make IPythonTrials picklable