fix incorrect bit filesize assignment for sha-256