override QFile::remove for scripts