pygit2==0.17.3
Revert "s/attributes/filemode/ for pygit2 >= 0.18.0"

This reverts commit d544ce2a44e577bbde3ffbc61b64f1278cb5115d.