fails(JRUBY-4082):File.new opens directories
fails(JRUBY-4564):File.new returns a new File when use File::APPEND mode
fails(JRUBY-4564):File.new returns a new File when use File::RDONLY|File::APPEND mode
