Do we need this files_binmode for directory.rb as well?