49ers' Foster, Armstrong safely flee armed men