use os.makedirs to create all the file along the path