best approach would be a pull request on github. Second best choice is opening an issue on github and attaching / linking the patch there.
It would also help if you could provide some more details on the environment in which you encountered this problem. Is this specifc to some OS / distros? Does it apply to both Linux/Windows? In which situation do you encounter so many file descriptors, maybe there's something else wrong that leaks FD's or uses too many of them. In any case it would be good to have some short notes on these questions on github, so someone else can later find it and figure out the reason for the patch.
Cheers,
Hanno