added assert for bad tun dev descriptor on write