message: Replacing bare except with much safer broad except.
  The bare except can lead to very confusing situations, especially if it is
  not logged anywhere. Using a much safer broad except is more likely the best
  approach in this use case.
diff: @@ -179,7 +179,7 @@ class EncryptingStream(io.BufferedIOBase):
  # We deliberately don't close the file here, since we don't know if the
  # user was really done writing or if there was an error.
  self.flush()
  - except: # pylint: disable=bare-except
  + except Exception: # pylint: disable=broad-except
  pass
  ### Inquiries ###
  