**Motivation** This is basically just for consistency but also might be a slight performance optimization. **Summary of desired enhancement** Move `pre-commit` integration to use the deferred file write (File Manager) approach