BUG/OFMT: fix repring of python3 bytes objects

closes #4455.