Converting pathnames to strings

Hi,

I know TM only supports system Ruby but, adding this small patch (5 chars) allows to Run a _C/C++_ program with any version of Ruby 1.9 or 2.0 while keeping everything working with 1.8.7.

Without it, I get a `no implicit conversion of Pathname into String (TypeError)`.

Have a nice day :wink: