Two men charged by U.S. prosecutors with racketeering and other crimes for their involvement in the once wildly popular file-sharing website Megaupload said Tuesday they have reached a deal that will see them avoid being extradited to the U.S. in exchange for facing charges in New Zealand.