catch buffer error, assume it cant inflate, use decode64\d string and close stream