Update permalink to add a trailing slash for non-html files.