Added va_end in io_printf.