Bugfix: write_syx() wrote plaintext when plaintext=False and vice versa.