fix duration pickle for all protocols and all supported python versions and variants. (closes #10)