[Sanitizer] Use more appropriate InternalScopedString in GetCodeRangeForFile