No longer leak fds.
Merge pull request #499 from segfaulthunter/fdleak

No longer leak fds.