netdetect: Making output nicer

Don't print confusing debug message and add a \n to a write that messup
the output.