When invoked with --format-patch, lb-format was crashing if the input file contained UTF-8 characters.
--format-patch
lb-format
This fixes the problem and adds a report of files with invalid UTF-8 codes.