Fix up external file upload mess.