Make NamedPipe::openPipe() be protected because it is called only from its class now.