Simplify get_byte and url_fgetc.