makes sure purrlog directory is properly set up

def _initIndexDir(self):
        """makes sure purrlog directory is properly set up"""
        if not os.path.exists(self.logdir):
            os.mkdir(self.logdir)
            dprint(1, "created", self.logdir)
        Purr.RenderIndex.initIndexDir(self.logdir)