Make snprintf() return full strlen when truncating