Fix args to ruby method
Move ruby methods to FileUtils extension