Fix incorrect temperature loading on platforms where char defaults to unsigned