Update template.php

Class 'JFile' not found in line 73 (now 74) (J2.5!) error.