Abbreviate path prefixes.