Use File.exist? instead of File.exists?

File.exists? is deprecated in Ruby 2.1+.