Add new module kfile_mem: kfile access over a plain memory buffer.