Woman fights off attempted rapist in Brooklyn