https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L51