Fix for #318: Catch truncated zTXt errors.