In the future as bad as it may sound just slam on the brakes and try and not hit the person too hard, but never swerve into traffic. I heard from a fried of a friend who got ran down by a truck and eventually died, by trying to avoid hitting a person who stepped out into the bike lane not paying attention. A person can survive getting hit by a bike most of the time regardless of how fast your going, but you getting hit my a vehicle is a lot more likely to cause serious injuries.