change for Python 2.6 tarfile module compatibility