Fixed random use of utf-8 as bytes.