Sets the name of the pipe. Closes the previous pipe name if open before changing the name. Also unsets anonymous.