Fix deprecation warning

`File.exists?` is deprecated according to
http://batsov.com/articles/2014/02/05/a-list-of-deprecated-stuff-in-ruby/ We
should use `File.exist?` instead.