Ported pluploader fix into emicdora from emic_customizations.