[kmzfile] add zfgetunitl function

Gets until a delimiter. Use '\n' for essentially zfreadline, or EOF to
read until the end of file.