replace File.exists? with File.exist?

File.exists? has been deprecated since Ruby 1.9.2