fix utf-8 in files and try to do a better guess of the needed lexer by using the filename besides the file content