Fix filePath
being wrongly stringified
#40070
Merged
filePath
being wrongly stringified
#40070