Fix endless loop in logStream()

For io.Copy, EOF is not an error.