Bugzilla bug 297: implement PeekNamedPipe.