Use llvm::format instead of ftostr (which just calls sprintf).