Fix bogus mixfile header decryption. Fixes #2176.
Clean up MixFile code.
Merge pull request #3208 from pchote/mixfile-fixes

Fix mix header decryption.