Added a checkFileInOut() to check files for encryption/decryption + minor fixes
Added a checkFileInOut() to check files for encryption/decryption + minor fixes

mwillbanks/zend-crypt,ezimuel/zend-crypt,Maks3w/zend-crypt