Add utf-8 encoding to metadata.rb