unrar 5.1.6

updated formula
test: replaced file.write method which is working for ruby 2.0.0 (Yosemite version)
What about the original code doesn't work?