Prevent failure on strange chunk types

The chunk type is not considered to be a valid string.