Change input/output handler.