Fix deprecation warning File.exists? -> File.exist?

`File.exists?` is deprecated.
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/43377