Migration to in-memory PDF encryption.

Previously the app used a temporary on-disk plain PDF during encryption/decryption process. Now the data is moved to in-memory buffer for better performance and security!