Fixes erroneous linefeed handle in write_signed_message()

Fixes #109, courtsey of encomiast