Add / to the end of pathnames