fixup! take optional filename for heap dump