Replaces instances of deprecated 'File.exists?' with 'File.exist?'

`File.exists?` is deprecated as of Ruby 1.9. This removes the deprecation warnings.