Try to guess encoding of files (UTF8 vs native)