Use file-name-as-directory to add a trailing slash