added encoding option to outputtxt
added encoding and bom option to outputcsv.