Pickling and Unpickling - class instances with unpicklable attributes