Issue #77 -- 0 byte tmp files fix