Output invalid lines to file.