tarfile module generates names like ./foo in Python 2.7