/**
  * Removes temporary directory
  *
  * @throws \League\Flysystem\FileExistsException
  */
 public function __destruct()
 {
     $fs = new Filesystem(new Local(dirname($this->getPathPrefix())));
     $fs->deleteDir(basename($this->getPathPrefix()));
     $fs->assertAbsent($this->getPathPrefix());
 }