Prevent rewriting the encrypted file if decryption fails