CRM-13169 - Corrected file upload issue

----------------------------------------
* CRM-13169: Files attached via profile popups don't work
  http://issues.civicrm.org/jira/browse/CRM-13169
Merge pull request #1461 from vivekarora/CRM-13169

CRM-13169 - Corrected file upload issue