be safe when printing the debug message

data is now hexdumped ... instead of treating it as a string