Append a / to directory names when listing files in the artifacts direct...

...ory.