Use sprintf string formatting instead of concatenation

Use sprintf string formatting instead of concatenation to prevent errors
caused when the tenant ID is numeric. When the tenant ID is numeric,
PyYAML parses it as a python int type, which does not support
concatenation with strings.

Using sprintf string formatting works around this problem.