dPickle: avoid using a custom pickler for partial functions