Modifications of tar-cs to use in LibGit2Sharp