Reconfigure __main__ to write out the obsid temps

After modifying the main method, get_ccd_temps, to just return the JSON,
the code to write out the JSON to either stdio to a file was disabled.
Re-enabled now when the script is called as __main__.