Return underlying file descriptor if one exists. Raise OSError if the IO object does not use a file descriptor.
io/IOBase.fileno
IOBase.fileno