A Diffusion Barrier for Flexible Thin Film Photovoltaics