Fixed issue with printing MAVLink_bad_data

Found this error when running mavlogdump.py on a corrupted data stream. Non-ASCII values were common and wouldn't print, crashing the program.