fix discid example for MSC/MSVS

snprintf needs fixes like in the internal code.

See also #25, where snprintf was added to the example.