Fix for stripFileProtocolForLocalto remove all escape characters.