[This is preliminary documentation and subject to change.]
Write a sample out. If writing a detached file (ExtFileMode=true) this writes the sample as an external file named "sample.ExtFileName".
If inline, this stores binary data. Note that this needs to be called *after* both SaveMeta and WriteSFT (first time)
|ChoonMLException||Thrown with error 103 if this is called before the first call to WriteSFT|