cannot log NUL bytes to syslog

Bug: 1014868
Change-Id: Ic7db3ecfccfe77e053c163ef39c6eb6105d0d8ab
Merge commit 'ea71c1e87f7bae9060a9e5a7dacb04ffe05c9ab6' into release-0.15