some fixes for git-filter-branch.