Fixes to handling of .. in mkpath when base ends with /
Merge branch 'master' of github.com:beingmeta/libu8