change p to pkl file extension, closes #484