Moved perfmon_result_t serialization functions to perfmon/archive.cc.
Made perfmon_result_t serialization use int64_t instead of size_t.