Renamed deprecated calls to File.exists? to File.exist?

* It prints a warning in recent ruby (2.1)