support WITH_MEMORY_DISK

bugfix: clear system immutable flags before rm(1) tmproot