Create a folder path recursively.