(main): Avoid a buffer overrun with sprintf.