Replace deprecated .exists? with .exist?

`File.exists?` is deprecated and should be upgraded to the correct format