write local header, data descip, and central header