fast-import: use xsnprintf for formatting headers