New Zealand hurts Sri Lanka