red-led: Ensure that string read with fread is NULL-terminated
Add robust_snprintf function

Always returns -1 on error instead of a positive value larger or equal
to the buffer length to indicate an overflow. Instead distinguisch this
cases with differenr errno values.