reports: cope with non-ASCII source files