remove warnings of File.exists?

Ruby warned following message running with -w options.

```
warning: File.exists? is a deprecated name, use File.exist? instead
```