Refactored run_sstable2json and run_json2sstable to use file handles

Refactored run_sstable2json and run_json2sstable to use file handles rather than paths. By default, sstabletojson will print to stdout unless a output file is specified.