Electrical contact uniformity and surface oxidation of ternary chalcogenide alloys