Fixed compressed file bit writing