The effect of sample cell windows in precision polarimetry