Python 2.6 does not support with statements with multiple contexts.