Add missing explicit conversion from pathname to string, needed in rails 4
Merge pull request #156 from bkutil/fix_pathname

Add missing explicit conversion from pathname to string, needed in rails 4