fix '-clear' option problem

When there are more than 100 entries in a directory,
os.RevemoveAll have the postential to fail.
Some 3rd-party module(e.g. lua-nginx-module) tumbles this restriction.