A woman was beaten and nearly raped in Brooklyn by the driver of a car she got into after mistaking it for a livery cab, police said Sunday. The 39-year-old victim climbed into the car near the corner of Fulton and Logan streets in Cypress Hills around 5 a.m. Aug.