// optional AESEncContext argument is present, the document is encrypted
// prior to writing. Fails if the file is not open, is finalized, or an
// operating system error occurs.
// optional AESEncContext argument is present, the document is encrypted
// prior to writing. Fails if the file is not open, is finalized, or an
// operating system error occurs.