fix some warnings emitted by 'ruby -w'

- File.exists? is deprecated since 2.1.0
- tasks/mruby_build_commands.rake:268: ambiguous argument
Merge pull request #1631 from cremno/fix-ruby-warnings

fix some warnings emitted by 'ruby -w'