Add license header to LazyQueryResultInputStream