Added protocol to cPickle to prevent error on 2.6
Fix missing parentheses in tuple comprehension