change random byte string to be escaped hex. i.e. "\x23\xff\xfc"