FileUtils: utility for n-th parent of path.