Yup, hate to say it but you did wrong when you rode into the pedestrian's escape path. You also failed to make sure she saw you coming, and thus in her eyes, were unpredictable.
I've learned this the hard way from riding in Manhattan for years--people will retreat towards the curb out of instinct, even if there's no traffic in the street (besides a lone bicyclist) at all.