Logging more useful messages when writing rrds fail.