Clean up strings

Use format() instead of % method.