REXML::Formatters::Pretty wrap width?

Hey all,

So I am doing something like this:

out = REXML::Formatters::Pretty.new(4)
out.width = 5000 # arbitrarily large value
out.compact = true
puts out.write(tmtheme.root,"")

Yet long lines are getting broken still. For example:

http://pastie.org/621471

Is there any way I can prevent this?

Cheers,
Charles