FIX: fix Python 2.6 pickle partial functions

Addresses issue exposed in #783