Fixed SD upload (managed to break this by introducing temperature offsets).

Closes #249