zlib_parse_file callbacks - some code niceties for similar functions