Integrated to_s call for pathnames