Fix ResourceWarning shown in Python3 tests.
Fix ResourceWarning shown in Python3 tests.

A KeyError was being buried, causing testGetBadFile to not close its
test file.

GoogleCloudPlatform/gcs-oauth2-boto-plugin