Fix activity documents IE8 upload bug.