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