Instead of removing all directories, truncate files instead.

Reported by:	mav, william