Fix encrypting / decrypting large files