code: def prepare_path(self, tile):
          
          makedirs(os.path.dirname(self.get_path(tile)))
docs: Create directory and subdirectory if necessary.
  
          Parameters
          ----------
          tile : ``BufferedTile``
              must be member of output ``TilePyramid``