Don't ignore warnings.

The "with" syntax isn't available in older versions of Python.