Make fd error handling in kevent port tell read and write errors.