Can you add comments to that effect?  Otherwise it's confusing why we're casting a string(-like thing) to a string explicitly.  It's the sort of thing I might remove on cleanup if I didn't know better.