Fix appendfile.c errmsg output that broke with d291c7