Remove dotlock from opening dbs