Add very basic escaping for mediaPath.