updated snippet in README.md to work with current Irmin API;