Introduce separator encoding magic in make_chunk_iter

Unfortunately not every caller of make_chunk_iter knows with what kind
of stream it is calling make_chunk_iter, consequently it cannot
determine whether to use a unicode or bytes separator. Therefore we
assume the separator is ascii encoded and handle both cases in
make_chunk_iter.