Rename UpdateError exception to NoWorkingMirrorError.
Correctly check metadata of both compressed and uncompressed files.
Fix a variable shadow bug in tuf.log.