SplFileInfo::getExtension() requires PHP 5.3.6+