Using pickle with protocol=2