PO loader: Fix unclosed files and error messages
PO loader: Fix unclosed files and error messages

Trying to get `f->get_path()` after deleting `f` was not super clever :)

Fixes #40324.

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