Replaces instances of deprecated 'File.exists?' with 'File.exist?'
Merge pull request #1546 from fj/topic/fix-deprecation-warnings

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