Fix TypeError with format string

I admit I don't really get why, but the '%s.%s.%s' was giving me a 'not enough arguments for format string' TypeError, so I switched it to use string join instead.