Bugfix for missing module method error in FileUtils#chmod

This should fix '/usr/local/lib/ruby/2.0.0/fileutils.rb:970:in chmod: undefined method mode_to_s for File
Utils:Module (NoMethodError)'