[DOCUMENTATION] Update metadata.rb
[BUGFIX] Work around Dir::Tmpname.make_tmpname which is missing in Ruby 1.8.7