- fix undefined method `exist?' for Dir:Class in Ruby 1.8