Finalized file encryption.
Encrypt to write stream.