SocketApi: Instanziate Object to call QFileInfo::exists

QFileInfo on Qt4 does not have static members.