Use QFile::exists() consistently and directly

Authored by kossebau on Oct 16 2017, 2:15 AM.