Use to_s instead of to_str, so load works with Pathnames