Cavani close to PSG as Leo quits