Fixed SQLSTATE[HY000]: General error: 10 disk I/O error on SQLite

Signed-off-by: crynobone <crynobone@gmail.com>