Prosecutor says Cosby paid accuser nearly $3.4M