[COOK-2672] read output into memory before printing to avoid pager

only side effect I can think of offhand is this will fail when the license file is larger than available memory