fix mem leak in db_sqlite addFile()