CArchive: support streaming int, long and long long (instead of int64_t)
required for size_t streaming (at least on OSX x64)
CArchive: use size_t type for sizes