Trim "\0" from the entry path 

Sometimes, in an archive, the entry path was designed to be fix-width string (e.g, 256 chars) and "\0" will be used as the invisible place-holder. 

If we don't trim the "\0" placeholders, the archive entries will not be extracted successfully.