also - even though the pedestrian has the obligation to move over - a friendly thanks! or thank you! helps all cyclists in the long-run.
On US forest trails, the general rule is bikes yield to pedestrians and everyone yields to horses.
(Obviously pedestrians walking in bicycle lanes are doing it wrong.)