Abbreviate paths if possible