Update fcntl doc: replace IOError with OSError

Issue #26716. IOError is a deprecated alias to OSError since Python 3.3.
2 files changed