tools: split messages on newlines