NSFNoteExtractFile doesn't decode ENCRYPT_BASE64 correctly

When using the NSFNoteExtractFile API on a FILEOBJECT whose encryption is set to ENCRYPT_BASE64 the decoded file is not always correct. Consistenly, files whose size is 100K or greater are only partially decoded (about the first 18K worth).

To get around this I’ve had to use the NSFNoteExtractFileExt(NTEXT_RAWMIME) API and decode using my own BASE64 algorithm.