Thanks for replacing the obsolete forms. A few files were already using write-file-functions; I don't know if you want to change those to before-save-hook, for consistency. >From today's gnulib:
build-aux/config.sub build-aux/config.guess doc/standards.texi