Minor rubocop style fixes

* File.exists? is deprecated, using File.exist? instead
* %w() was used in serveral formats, now normalized
* indentation fixes