Ensure pattern of replacePosixSep
is a string
#9546
Merged
replacePosixSep
is a string
#9546