Change file default index to add trailing slashes for directories