format instead of printf

Refs #9230