Python Determine Encoding Of Text File