tpie/serialization2.h: use pointers instead of iterators. Fixed #166.