Update the 'tailoring atexit hooks' recipe to be compatible with the new FileRegistry