Fix 'TarFile' object has no attribute '__exit__'

See e.g. here:

http://stackoverflow.com/questions/6086603/statement-with-and-tarfile