[PATCH 10/13] installer: Replace all uses of strncpy with snprintf