Make use of more updated gitio2

https://npmjs.org/package/gitio2 uses the new gitio api