unlink if condition is met rather than unlink unconditionally.
filemis.is_{empty,stale}. is_stale is factored out from test19unlink.
clean_dir(condition, path):
	cleans dirs recursively based on `condition`.
	trys rmdir recursively.
simple_walk(prefix, yield_link=False)