PipeLogger: handle file object for input_fd