Add `containsHeader` method to `HeaderSet` class.
Fix bug that prevented correct handling of recordings > 64K.