Changed io.c and utf8.c to use get_chunk_size instead of get_prefered_chunk size