rmtree if ephemeral