CRM-12977 fix file outputing for WordPress

----------------------------------------
* CRM-12977: Personal Campaign Pages on WordPress: uploaded images not being displayed
  http://issues.civicrm.org/jira/browse/CRM-12977