CLN: replace %s syntax with .format in io/formats/format.py
Progress toward issue #16130. Converted old string formatting to new string formatting in io/formats/format.py.

- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

