Fix missed stubs of File.exists? when changing to File.exist?

Change to File.exist? to reduce some Ruby 2.1 warnings was introduced
in 4-0-stable branch in 02393966720002314765850776fb16d2539c9415.