Removing trailing `/` from file listing shortcuts.