fix for src/test/Trac496.rb
forgot 'end'
changed generic coersion to a specific one
Merge pull request #239 from MagLev/dikors/pathname-coerce-to-str-1.9

fix for src/test/Trac496.rb