Adds a size-written OUT parameter to drmodtrack_offline_write() to avoid callers needing an expensive strlen() to figure out how much to write from the buffer to a file.
Includes the checksum and timestamp in the returned offline fields now, to avoid having to check the struct size for compatibility when we inevitably add them later.