Close opened tar files.