use File.exist? instead of File.exists?

Ruby 2.1 and 2.2 with -w option warned to use File.exists?. I fixed it.