Fix unicode problem in to_bytes_packed for python3