AC3 support

Also cope with non-lowercase extensions,
despite being criminally ugly.
Merge pull request #17 from g2p/master

AC3 support