Set a write callback handler for the pipe.