SplFileObjectFactory fix