Fixed rubocop warning

File.exists? deprecated in favour of File.exist?