Applied cleanDir when exit.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>