removing those lines since os.makedirs already create all intermediate-level directories