The patch also changes RemoteOpenFileChild::OpenNSPRFileDesc() so that it cannot succeed with a null fd, so that checking just the return value is sufficient.