Switched to codecs module for detecting Praat encoding.