Bug 1054598 - Don't assert when invalid file descriptor received. r=jduell