Widen the UTF8 encoding check from per row to entire file