strip #00 from pdf to avoid corrupted pdf bug WEB-7830
close the actual file handle per feedback on WEB-7930
fix bug where version object isn't set because product doesn't exist WEB-7951