Trivial sprintf to snprintf conversion. Some linkers warn about unbounded sprintf...