use snprintf again, properly this time

Addresses https://github.com/RIOT-OS/RIOT/pull/1214#discussion_r12811052