fixed io.write override not handling varargs