Handling ValueErrors in pathnames.