Fix recursive folder creation