Steering light in fiber-optic medical devices