Send debugging dumps to z.dump, not z.hunkdump; also, rename the function more appropriately.