add needed ffi module when saving annotations
update to latest base

fixes annotation writing to PDFs.
Merge pull request #1053 from hwhw/fix_1052

Fix 1052