Added a tiny bit of error handling

As it turns out, this program may also work on other hardware, but the thermal
device may be somewhere else, or even the raspeberrypi kernel might update and
the path may change, so here's an error for that.