Add try/catch when reading elements with libmatroska.