On Windows, don't indicate that the pipe is invalid when it is read only.