prune: fix output for long paths