add file fio_clear_dir.c

A version of clear_dir implementation