High precision thin film attenuator