This script should "pay for itself" if it prevents one bug caused by careless search-replace-commit loops.