Avoid crashing when we encounter binary data in a log file