Fix depricated File.exists?
Merge pull request #145 from igas/fix-deprecations

Fix depricated File.exists?