fix generated code of message definition with windows line endings (fix #6)