OS X doesn't define EBADFD (normally 77 in other UNIX implementations), fixed