Fix 32-bit file descriptor limit.
Merge branch 'joyent/feature/miscfix/trunk' into joyent/release/trunk