RiotGames/ridley — pull request #281 by diadistis (2014-10-10 12:11:21+00:00)
Title: Replaced file locking code

This fixes the following [error](http://pastebin.com/raw.php?i=L7THN3na) :
> `delete': Permission denied - [some path]/metadata.json (Errno::EACCES)

Details about the problem can be found in [this SO question](http://stackoverflow.com/questions/26298093/weird-file-open-behavior-when-using-different-closure-types-in-ruby)