File.directory? and FileTest.directory? should handle IO's

The last failing tags for File and FileTest directory? are blocked
by http://jira.codehaus.org/browse/JRUBY-4033.