Fix sprintf(3) after renaming --name to --export.