CArchive: use only basic types for portability