Merge "Use snprintf instead of sprintf."