Fraudsters stole $1.3 million from the town of Cary this spring by altering a check meant for a town contractor. The money was recovered after a police investigation, records show.