Add slash at the end of directory names so that find works with them.