fixed introduced winpr bug in namedpipes

Bug was introduced by 5e09e37d42bd8896a687df830a95f5cb56e4d47c
Merge pull request #1864 from MartinHaimberger/namedpipefix

fixed introduced winpr bug in namedpipes