OSX: Remove tmp .app folder instead of moving to trash
OSX: Remove tmp .app folder instead of moving to trash

Fixes #42232.

And fixes memory leak with use of DirAccess, and harmonize the use of
the sanitized pkg name.

vnen/godot,MarianoGnu/godot,Valentactive/godot,akien-mga/godot,guilhermefelipecgs/godot,josempans/godot,Shockblast/godot,pkowal1982/godot,vkbsb/godot,Valentactive/godot,BastiaanOlij/godot,sanikoyes/godot,firefly2442/godot,sanikoyes/godot,vkbsb/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,vnen/godot,Valentactive/godot,Faless/godot,guilhermefelipecgs/godot,vnen/godot,akien-mga/godot,ZuBsPaCe/godot,honix/godot,DmitriySalnikov/godot,MarianoGnu/godot,Zylann/godot,Shockblast/godot,firefly2442/godot,honix/godot,vnen/godot,josempans/godot,pkowal1982/godot,BastiaanOlij/godot,DmitriySalnikov/godot,honix/godot,Zylann/godot,sanikoyes/godot,Faless/godot,akien-mga/godot,ZuBsPaCe/godot,godotengine/godot,honix/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,firefly2442/godot,akien-mga/godot,pkowal1982/godot,guilhermefelipecgs/godot,Faless/godot,pkowal1982/godot,sanikoyes/godot,josempans/godot,Shockblast/godot,firefly2442/godot,josempans/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,BastiaanOlij/godot,Faless/godot,pkowal1982/godot,Faless/godot,sanikoyes/godot,Zylann/godot,Zylann/godot,DmitriySalnikov/godot,MarianoGnu/godot,Shockblast/godot,honix/godot,Valentactive/godot,sanikoyes/godot,Faless/godot,DmitriySalnikov/godot,firefly2442/godot,DmitriySalnikov/godot,MarianoGnu/godot,godotengine/godot,sanikoyes/godot,firefly2442/godot,MarianoGnu/godot,Zylann/godot,pkowal1982/godot,ZuBsPaCe/godot,firefly2442/godot,Faless/godot,Zylann/godot,josempans/godot,vkbsb/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,sanikoyes/godot,MarianoGnu/godot,Zylann/godot,Shockblast/godot,ZuBsPaCe/godot,vkbsb/godot,BastiaanOlij/godot,akien-mga/godot,josempans/godot,BastiaanOlij/godot,pkowal1982/godot,BastiaanOlij/godot,MarianoGnu/godot,akien-mga/godot,akien-mga/godot,MarianoGnu/godot,godotengine/godot,vkbsb/godot,vkbsb/godot,vnen/godot,honix/godot,ZuBsPaCe/godot,godotengine/godot,godotengine/godot,josempans/godot,godotengine/godot,Valentactive/godot,Zylann/godot,vkbsb/godot,Valentactive/godot,vnen/godot,vnen/godot,DmitriySalnikov/godot,Valentactive/godot,firefly2442/godot,josempans/godot,akien-mga/godot,vnen/godot,Valentactive/godot,Faless/godot,Shockblast/godot,Shockblast/godot,godotengine/godot,pkowal1982/godot,vkbsb/godot,godotengine/godot,guilhermefelipecgs/godot,Shockblast/godot,BastiaanOlij/godot