Allow lsb_output to support strings with NUL characters

https://github.com/mozilla-services/heka/issues/1240