refactor to remove private method getPath on SQLite and encrypted SQLite stores