Fix creating folders with parents