[kmfile] add final unfinished kmfile

This module will be removed
[kmfile] remove module

kmzfile does everything this does, otherwise just use stdio.h.
Merge branch 'kmfile' into dev