add trailing slashes (to avoid problems with symlinked dirs)