PUTNAM NEW YORK TAX EXEMPT INCOME FUND AMENDED AND RESTATED DISTRIBUTOR’S CONTRACT