Remove obsolete function of contextlib.nested

See warnings in http://docs.python.jp/2/library/contextlib.html#contextlib.nested