catch all fbx exceptions
tell inflate the expected output length
don't Z_FINISH in the first inflate round

miniz expects the output buffer to be large enough to handle the
complete result
optimize buffer handling if output fits in out_hint