Revert "Fix: preserving blank characters (tabulator and space) in Cooja serial output"

This reverts commit 350c3a306d24b9b83a700f570973b077339a1a9b.