(open_next_file): Use SETVBUF, not setbuf.