Use commons-io api that does not exclude dirs.