Pathname manipulation library