Fix implicit string conversion of Pathname
Merge pull request #260 from whitethunder/master

Fix implicit string conversion of Pathname