memory-dump create directory bug fix