Fix mistaken maktaba#path#Dirname example

Fixes a mistake in the docs.