Optionally write output to file specified

Added a command-line flag (-o) to specify output file, and modified
BanditResultStore to write output to file if that flag is specified.