Explicit conversion from pathname to string