Use bufio for rsyslog piped output.

Use this instead of Scanf so we can read the entire line
instead of word by word.