Bug 1042387 - Add file descriptors count check r=jrmuizel