xmlformat: use perl version

Since Ruby 2 the ruby version issues many syntax warnings and OSX ships also
with Ruby >2. Fortunately there is a Perl version on the same archive that
does exactly the same thing. OSX ships with Perl 5, so we're fine.