The effects of defects in purple AuAl2 thin films