Fix up git-export to use the lower-level interfaces for diff generation.