windows(JRUBY-2665):IO#stat returns a File::Stat object for the stream
fails(JRUBY-5663):IO#stat can stat pipes
