fix chunk() key preservation after #323

ktype was no longer correctly set making chunk() key preservation option to fail.