Make sure that file is missing if upload failed.