Update fd_generator.c

Recursively generate file descriptors from  a tree of files under the current directory.