file_types.rb: use the current terminal device
file_types.rb: use the current terminal device

* spec/ruby/core/file/fixtures/file_types.rb (configure_types):
  try the current standard input terminal device first to get rid
  of a race condition.  other terminal devices may be used by
  other processes and disposed during the test.

git-svn-id: ab86ecd26fe50a6a239cacb71380e346f71cee7d@63045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

eregon/rubyspec,nobu/rubyspec,ruby/rubyspec,ruby/spec,eregon/rubyspec,ruby/spec,nobu/rubyspec,eregon/rubyspec,ruby/spec,ruby/rubyspec,nobu/rubyspec