Fix & improve the handling of temporary files using the new URI resource resolvers Thanks to Alexios Giotis for valuable contribution