Fixes erroneous linefeed handle in write_signed_message()

Fixes #109, courtsey of encomiast
Merge pull request #110 from qnrq/master

Fixes erroneous linefeed handle in write_signed_message()