Update ditaa.rb

Fix to text cleanup to match stray characters I was seeing, perhaps caused by Ruby 1.9.
Tweak IMG tag rendering to allow images to be served if they exist on disk.