Imposter lawyer who filed document in Cosby case wins reversal of his conviction