Fix a small bug in rewrite rope

Hi,

Rewrite rope was dereferencing an end iterator when trying to insert data at
the end of a file. (for example with the emit-html, when the </table> is
emited)

Not sure this is the best way to fix it. But at least, VS don't complain
anymore.

Regards,

Cédric

rewriterope-bug-dereference.patch (879 Bytes)