Add instance attribute flow.pickle_protocol to select the Pickle protocol.