netFD: fix race between Close and Read/Write Fixes #783. R=rsc, cw CC=golang-dev https://golang.org/cl/1207043