Python 2.6 compatibility fix.

Multiple "with" expressions were introduced in Python 2.7. Also, in this particular code we don't actually want or need the previous semantic, so in any case, the fix is actually an improvement.