pdf-fullrewrite: Added support for encrypted documents, checks on output documents, incremental update mode