php5.3 support

(new \SplFileInfo($skeletonRoot)) works only with php5.4