am_save: Save an Automerge document to binary format
Description
Serializes an Automerge document to the standard binary format,
which can be saved to disk or transmitted over a network.
The binary format is compatible across all Automerge implementations
(JavaScript, Rust, etc.).