ENH: Use .format instead of %s

This makes the code a bit cleaner, specially for reading
_EMPEROR_FOOTER_HTML_STRING.