add a truncate() method the Path and it's subclasses