Use CRLF for line endings

The encrypted text would sometimes include a LF character and
this would break the decryption.