Make sure that Permalink#append always adds a trailing slash to directories.