Effects of dielectric film surface on oxygen diffusion