config: use sprintf instead of asprintf