[issue-313] Beautify sprintf