Better error reporting for EMFILE crashes.

Basically this is just error reporting pimped up slightly.