Clean up git-ls-file directory walking library interface