Implement IO#dup

IO object duplicate file descriptor call by dup(2).

But, Duplicated object cannot ensure to work with buffering method. (e.g. read, write, pos, ...)