t7501-commit.sh: Not all seds understand option -i