Fix ResourceWarning under Py3k.