Use filelib:wildcard rather than filelib:fold_files. It is 44 times faster.
tree46c1f8683cdb5c2108dfcd5ba8a64a8afe1960d6
-rw-r--r-- 27 .gitignore
-rw-r--r-- 56 AUTHORS
-rw-r--r-- 1334 COPYING
-rw-r--r-- 1567 HACKING
-rw-r--r-- 245 INSTALL
-rw-r--r-- 1376 Makefile
-rw-r--r-- 187 Makefile.config
-rw-r--r-- 3419 NEWS
-rw-r--r-- 1964 README
-rw-r--r-- 4546 TODO
drwxr-xr-x - bin
drwxr-xr-x - doc
drwxr-xr-x - lib
drwxr-xr-x - releases