fixed syntax error in Ruby 2.0

./dbus-dump:13: syntax error, unexpected tSTRING_BEG, expecting ']'
  [hex.gsub '\x', ''].pack 'H*'
             ^
./dbus-dump:13: syntax error, unexpected ',', expecting keyword_end
  [hex.gsub '\x', ''].pack 'H*'
                 ^