Sacrificial or temporary thin dielectric films in openings in a dielectric