Variable header not initialized for invalid file.

If invoking this script for an invalid MPQ file, the header variable
is not initalized and the script fails with the following error:

UnboundLocalError: local variable 'header' referenced before assignment

Better to throw a more specific message.