Example of how to generate dataset using featurize.sh
Write to output stream instead (don't need -o argument)
More robust error handling
Report for gen_dataset