You could try uploading lib/eztemplate/eztemplateforfunction.php from svn stable/3.8 But only if you can't wait for 3.8.1 witch seems to be another 2-3 weeks away.
Also remember to copy the original file in case this action introduces other errors because of dependencies to other changes.