fails:IO#pid returns the ID of a process associated with stream
fails:IO#pid raises an IOError on closed stream
