remove SplFilepathInfo getExtension method call, only available in 5.3.6+