Checking if a file exists wasn't the correct way to test a named pipe; writing to it is.