The change that was merged from Kabissa in CRM/Profile/Page/Dynamic.php doesn't seem to be quite right. If there is NOT a custom version of Dynamic.tpl for that profile, then getTemplateFileName() returns '.tpl'. Evidently parent::getTemplateFileName() does not work here.
I've put in a hack with hard-coded template file name temporarily so I could use the view page. (Maybe that's the real fix ??).