Dump serializes the provided data and writes it to the given filename.
It uses GoPickle format for storing structured data persistently.
Returns an error if serialization or file write fails.
Load deserializes data from the provided filename into the passed pointer.
Expects the data to have been previously stored with Dump using the same structure.
Returns an error if file read or unmarshalling fails.