Fixed issue where trailing junk was included in compressed outpout... again.