dirname_recursive: make upper_limit default to 2