If directory existed, then remove and make; else make it.

def rmmkdir(dir_path):
        # type: (AnyStr) -> None
        """If directory existed, then remove and make; else make it."""
        if not os.path.isdir(dir_path) or not os.path.exists(dir_path):
            os.makedirs(dir_path)
        else:
            rmtree(dir_path, True)
            os.makedirs(dir_path)