helper/ioutil: silence gcc-8 on strncpy