Ensure directories are reset