Pidcat should not crash with 'UnicodeDecodeError'

In some device, some log messages are not encoded to UTF-8.
It's a workaround for them.