fixed introduced winpr bug in namedpipes

Bug was introduced by 5e09e37d42bd8896a687df830a95f5cb56e4d47c