Give a nice error for invalid UTF-8 files