[debug] Remove "unprintable char 0" in debug messages

Avoid spamming the log when an application prints NUL bytes into
its output (like e.g. pkcon does sometimes).
Merge pull request #13 from thp/unprintable-nul-byte-debug

[debug] Remove "unprintable char 0" in debug messages