def prepare_path(self, tile):
makedirs(os.path.dirname(self.get_path(tile)))<EOL>
Create directory and subdirectory if necessary.

Parameters
----------
tile : ``BufferedTile``
    must be member of output ``TilePyramid``